package com.ktg.ktgcommon.domain.wms;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class WmMaterialStock {

  private Long materialStockId;
  private Long itemTypeId;
  private Long itemId;
  private String itemCode;
  private String itemName;
  private String specification;
  private String unitOfMeasure;
  private String batchCode;
  private Long workorderId;
  private String workorderCode;
  private Long vendorId;
  private String vendorCode;
  private String vendorName;
  private String vendorNick;
  private Long clientId;
  private String clientCode;
  private String clientName;
  private String clientNick;
  private Long warehouseId;
  private String warehouseCode;
  private String warehouseName;
  private Long locationId;
  private String locationCode;
  private String locationName;
  private Long areaId;
  private String areaCode;
  private String areaName;
  private Long packageId;
  private String packageCode;
  private Double quantityOnhand;
  private Double quantityReserved;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date productionDate;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date recptDate;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date expireDate;
  private String frozenFlag;
  private String attr1;
  private String attr2;
  private Long attr3;
  private Long attr4;
  private String createBy;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date createTime;
  private String updateBy;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date updateTime;
}
